package com.yneusoft.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 部门员工类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("`department_staff`")
public class DepartmentStaff implements Serializable {

    private Integer aid;

    /**
     * 员工aid
     */
    private Integer staffAid;

    /**
     * 部门aid
     */
    private Integer departmentAid;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}